<template>
	<view class="cantact">
		<image class="img" src="../../static/关于我们.jpg" mode=""></image>
		<view class="info">
			<view @click="phone">联系电话：18760903787（点击拨打）</view>
			<view>联系地址：云南省红河州蒙自市红河学院</view>
		</view>
		<map class="map" :longitude="longitude" :latitude="latitude" :markers="covers" :scale="scale"></map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				longitude:103.431844,/* 经度 */
				latitude:23.357046, /* 纬度 */
				scale:15, 	/* 缩放比例 */
				covers: [{
			       longitude:103.431844, /* 经度 */
			       latitude:23.357046, /* 纬度 */
			       iconPath:'../../static/hhxy.jpg',
				   width:30,
				   height:30
			            }],
						
		}
		},
		methods: {
			/* 点击拨打电话 */
			phone(){
				uni.makePhoneCall({
					 phoneNumber: '18760903787' //仅为示例
				})
		}
	},
	}
</script>

<style lang="scss">
	.cantact{
		.img{
			width: 765rpx;
			height: 320rpx;
		}
		.info{
			padding: 10rpx 20rpx;
			font-size: 28rpx;
			view{
				line-height: 80rpx;
				border-bottom: 1px solid #eee;
			}
		}
		.map{
			width: 750rpx;
			height: 955rpx;
		}
	}

</style>
